package _10单例设计模式.饿汉式单例模式;

public class Demo {
    public static void main(String[] args) {
        AudioPlayer p1 = AudioPlayer.getInstance();
        AudioPlayer p2 = AudioPlayer.getInstance();

        System.out.println(p1==p2);
    }
}
